cmake_minimum_required(VERSION 2.8.3)
project(object_cluster1)

find_package(catkin REQUIRED COMPONENTS roscpp std_msgs sensor_msgs visualization_msgs geometry_msgs pcl_conversions pcl_ros)



include_directories(include ${catkin_INCLUDE_DIRS})

add_message_files(FILES ClusterArray.msg)

generate_messages(DEPENDENCIES std_msgs sensor_msgs)

catkin_package()

add_executable(object_cluster src/object_cluster.cpp)
target_link_libraries(object_cluster ${catkin_LIBRARIES})


add_executable(lidarcc src/lidarcc.cpp)
target_link_libraries(lidarcc ${catkin_LIBRARIES})


add_executable(obb src/obb.cpp)
target_link_libraries(obb ${catkin_LIBRARIES})

add_executable(less src/less.cpp)
target_link_libraries(less ${catkin_LIBRARIES})

if(catkin_EXPORTED_TARGETS)
  add_dependencies(object_cluster ${catkin_EXPORTED_TARGETS})
endif()
